function object(o) {
    function F() {}
    F.prototype = o
    return new F()
}

var person = {
    name: '国强',
    colors:['red', 'green', 'blue']
}
var person1 = Object.create(person, {
    name: {
        value: '老陈'
    }
})

var person2 = Object.create(person, {
    name: {
        value: '林颖'
    }
})
person1.colors.push('pink')
console.log(person1.name);
console.log(person2.name);
console.log();